package savelog;

/**
 * Title: Themes class for CSIS 343 Final Project 
 * Description: CS 343 Final Project - Themes This class will handle the themeing for the app
 * 
 * @author Erik Olson
 * @email erik.olson-5@my.uwrf.edu
 * @author Mike Harmon
 * @email michael.harmon@my.uwrf.edu
 * @author Jack Friermuth
 * @email jack.friermuth@my.uwrf.edu
 * @author Luke Vang
 * @email luke.vang@my.uwrf.edu
 * @author Casey Golla
 * @email casey.golla@my.uwrf.edu
 * @date December 4th 2012
 */
public class Themes {
	//id of the theme
	private int theme_id;
	
	//which primary text to use
	private String theme_text_primary;
	
	//which secondary text to use
	private String theme_text_secondary;
	
	//which main background to use
	private String theme_background_main;
	
	//which background to use for the tables
	private String theme_background_table;
	
	/**
	 * Default constructor
	 */
	public Themes() {
		this.theme_id = 0;
		this.theme_text_primary = "";
		this.theme_text_secondary = "";
		this.theme_background_main = "";
		this.theme_background_table = "";
	}

	/**
	 * @param int theme_id					 :		id of the theme
	 * @param String theme_text_primary     :		the primary text theme
	 * @param String theme_text_secondary   :		the secondary text theme
	 * @param String theme_background_main  :		the main background theme
	 * @param String theme_background_table :		the table background theme
	 */
	public Themes(int theme_id, String theme_text_primary,
			String theme_text_secondary, String theme_background_main,
			String theme_background_table) {
		this.theme_id = theme_id;
		this.theme_text_primary = theme_text_primary;
		this.theme_text_secondary = theme_text_secondary;
		this.theme_background_main = theme_background_main;
		this.theme_background_table = theme_background_table;
	}
	
	/**
	 * method to get the theme id
	 * @return int theme_id :		the id of the theme
	 */
	public int getTheme_id() {
		return theme_id;
	}

	/**
	 * method to set the theme id
	 * @param int theme_id :		the new theme id
	 */
	public void setTheme_id(int theme_id) {
		this.theme_id = theme_id;
	}

	/**
	 * method to get the primary text theme
	 * @return string theme_text_primary :		the primary text theme
	 */
	public String getTheme_text_primary() {
		return theme_text_primary;
	}

	/**
	 * method to set the primary text theme
	 * @param string theme_text_primary :		the new primary text theme
	 */
	public void setTheme_text_primary(String theme_text_primary) {
		this.theme_text_primary = theme_text_primary;
	}

	/**
	 * method to get the secondary text theme
	 * @return string theme_text_secondary :		the secondary text theme
	 */
	public String getTheme_text_secondary() {
		return theme_text_secondary;
	}

	/**
	 * method to set the secondary text theme
	 * @param string theme_text_secondary :		the new secondary text theme
	 */
	public void setTheme_text_secondary(String theme_text_secondary) {
		this.theme_text_secondary = theme_text_secondary;
	}

	/**
	 * method to get the main background theme
	 * @return string theme_background_main :		the main background theme
	 */
	public String getTheme_background_main() {
		return theme_background_main;
	}

	/**
	 * method to set the main background theme
	 * @param string theme_background_main :		the new main background theme
	 */
	public void setTheme_background_main(String theme_background_main) {
		this.theme_background_main = theme_background_main;
	}

	/**
	 * method to get the table background theme
	 * @return string theme_background_table :		the table background theme
	 */
	public String getTheme_background_table() {
		return theme_background_table;
	}

	/**
	 * method to set the table background theme
	 * @param string theme_background_table :		the new table background theme
	 */
	public void setTheme_background_table(String theme_background_table) {
		this.theme_background_table = theme_background_table;
	}
	
	@Override
	public String toString() {
		return "Themes [theme_id=" + theme_id + ", theme_text_primary="
				+ theme_text_primary + ", theme_text_secondary="
				+ theme_text_secondary + ", theme_background_main="
				+ theme_background_main + ", theme_background_table="
				+ theme_background_table + "]";
	}
}
